// +----------------------------------------------------------------------
// | Project:   Android-Commons  
// +----------------------------------------------------------------------
// | CreateTime: 15/12/14  下午5:04
// +----------------------------------------------------------------------
// | Author:     xab(xab@xabad.cn)
// +----------------------------------------------------------------------
// | Description:
// +----------------------------------------------------------------------
package cn.xabad.commons.converter;

import retrofit.Response;

/**
 * DESC   :
 * AUTHOR : Xabad
 */
public abstract class GsonCallback<T> extends BaseCallback<T>{

    @Override
    public void onSuccess(Response<T> response) {
        onSuccess(response.body());
    }

    public abstract void onSuccess(T t);
}
